import allRoutes from '@/router/generateRoutes'
let homeRoute = allRoutes.find(item=>item.path === '/home')

let preOrder = homeRoute.children.find(item=>item.path === 'preorder')
let payMent = homeRoute.children.find(item=>item.path === 'payment')

let dynamicRoute = {
    path: '/',
    children: [preOrder,payMent],
    component: () => import(/*webpackChunkName:"layout"*/"@/layout/container.vue")

}

export default dynamicRoute